﻿@{
    ViewBag.Title = "ajaxform";
}

<h2>ajaxform</h2>
<script src="/Scripts/jquery-1.7.1.min.js"></script>
<script src="/Scripts/jquery.form.js"></script>
<script type="text/javascript">
    $(function () {
        $("#form1").ajaxForm({ success: function (data) {

            alert(data.msg);
        }
        });
    });
</script>
<div>
<form action="" method="POST" id="form1">
 <input type="file" name="file1"/>
<input type="file" name="file1"/>
<input type="file" name="file1"/>
<input type="submit" id="submitfile"/>

</form>

</div>
